//
//  ByNetCodeApi.h
//  beibei_ios
//
//  Created by pro on 16/5/5.
//  Copyright © 2016年 hebidu. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ByNetBaseApi.h"

#define code_log_debug 1

#if code_log_debug == 1
#define CodeLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define CodeLog(...)
#endif

/** 验证码相关接口 */ /** 朱凯 982942570@qq.com */
@interface ByNetCodeApi : ByNetBaseApi

/** 发送手机验证码 */
+ (void)getCode:(ByNetParamsModel *)model
        success:(void(^)(ByNetBaseResult *result))success
        failure:(void(^)(ByNetBaseResult *result))failure;

///** 验证验证码 */
//+ (void)checkCode:(ByNetCodeModel *)model
//          success:(void(^)(ByNetBaseResult *result))success
//          failure:(void(^)(ByNetBaseResult *result))failure;


@end
